package com.net.tkc.pro.service;

import com.net.tkc.pro.entity.History;
import com.net.tkc.pro.impl.HistoryImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class HistoryService {
    @Resource
    HistoryImpl historyImpl;

    public int addHistory(History History) {
        return historyImpl.addHistory(History);
    }

    public List<History> getList(int uid) {
        return historyImpl.getList(uid);
    }
}
